//------------------------------------------------------------------------------
// Copyright (c) 2008 www.dnaide.com
// Licensed under the MIT (MIT-LICENSE.txt)
// xmlstringparser_uncompressed.js
//------------------------------------------------------------------------------
// Parses a string, return DOM object - this can be then used by jQuery etc
function XmlStringParser(xmlString){
	var doc;
	if (window.ActiveXObject){
		doc = new ActiveXObject("Microsoft.XMLDOM");
		doc.async = "false";
		doc.loadXML(xmlString);
	}
	else{
		var parser = new DOMParser();
		doc = parser.parseFromString(xmlString,"text/xml");
	}
	return doc;
};